Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update score.yaml - Change MESSAGE #156

Closed
wants to merge 3 commits into from

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

Copy link

Deployment failed for PR-156! ❌

Deployment errors:

error provisioning resource ingress#modules.my-sample-workload.externals.dns GuResID: fb92dcac5677367ad857a775c15b01c779a16f67. Status: False. Reason: ApplyConfigurationError. Message: applying object fb92dcac5677367ad857a775c15b01c779a16f67-ingress of the kind Ingress: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog" and path "/" is already defined in ingress my-sample-app-pr-155/6d59e208452024b3e93fbf5ff09a35300fd0ba0c-ingress
Deployment errors details

Deployment errors details:

[
  {
    "apiVersion": "entity.humanitec.io/v1b1",
    "entity": {},
    "kind": "DeploymentError",
    "metadata": {
      "app_id": "my-sample-app",
      "deploy_id": "17f878c940d26971",
      "env_id": "pr-156",
      "org_id": "mabenoit"
    },
    "status": {
      "code": "OPR-001",
      "error_type": "",
      "message": "error provisioning resource ingress#modules.my-sample-workload.externals.dns GuResID: fb92dcac5677367ad857a775c15b01c779a16f67. Status: False. Reason: ApplyConfigurationError. Message: applying object fb92dcac5677367ad857a775c15b01c779a16f67-ingress of the kind Ingress: admission webhook \"validate.nginx.ingress.kubernetes.io\" denied the request: host \"helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog\" and path \"/\" is already defined in ingress my-sample-app-pr-155/6d59e208452024b3e93fbf5ff09a35300fd0ba0c-ingress",
      "object_id": "",
      "scope": "environment",
      "summary": "Humanitec Operator error"
    }
  }
]

View in Humanitec

Deployment ID: 17f878c940d26971

URLs:

my-sample-workload: helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:e0e9d7f86fc41160097dea0b3dee2643505ac78d808feff2b2f011458eb3faab"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Universe!"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/score/score.yaml"
        }
      ]
    }
  },
  "shared": null
}

Copy link

Deployment successfully completed for PR-156! 🎉

View in Humanitec

Deployment ID: 17f87c64c82f5a14

URLs:

my-sample-workload: helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Universe!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/containers/my-sample-container/variables/REDIS_ADDR",
          "value": "${externals.my-redis.host}:${externals.my-redis.port},user=${externals.my-redis.username},password=${externals.my-redis.password}"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:3015a5cb8581df469c3dc14939ce197af046b632c48121c8fb36485657e5b20a"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/score/score.yaml"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/my-redis",
          "value": {
            "class": "default",
            "type": "redis"
          }
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType            	Class  	ResID                                        	Usage         	Last referencing deployment	Last referencing deployment created ago
agent              	default	agent                                        	current deploy	17f87c64c82f5a14           	2m14.759656787s                        
base-env           	default	base-env                                     	current deploy	17f87c64c82f5a14           	2m14.75965838s                         
k8s-cluster        	default	k8s-cluster                                  	current deploy	17f87c64c82f5a14           	2m14.759659272s                        
k8s-namespace      	default	k8s-namespace                                	current deploy	17f87c64c82f5a14           	2m14.759659953s                        
logging            	default	logging                                      	current deploy	17f87c64c82f5a14           	2m14.759660714s                        
k8s-service-account	default	modules.my-sample-workload                   	current deploy	17f87c64c82f5a14           	2m14.759661466s                        
workload           	default	modules.my-sample-workload                   	current deploy	17f87c64c82f5a14           	2m14.759662237s                        
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	17f87c64c82f5a14           	2m14.759662838s                        
ingress            	default	modules.my-sample-workload.externals.dns     	current deploy	17f87c64c82f5a14           	2m14.759663489s                        
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	17f87c64c82f5a14           	2m14.759664101s                        
redis              	default	modules.my-sample-workload.externals.my-redis	current deploy	17f87c64c82f5a14           	2m14.759664722s                        
route              	default	modules.my-sample-workload.externals.route   	current deploy	17f87c64c82f5a14           	2m14.759665423s                        

Resources Graph

Resources Graph:

Use a Graphviz viewer for a visual representation.


strict digraph {

	label="Resource Graph
app: my-sample-app, env: pr-156

green: virtual nodes (environment, workloads), blue: active resources

";

	labelloc="t";

	overlap="false";

	splines="true";


	"ec13c2c2958fa2462e129bcbb1c3f1b2cbf3e582" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env
type: base-env
class: default
provision time: 15.89546s", style="filled", tooltip="guresid: ec13c2c2958fa2462e129bcbb1c3f1b2cbf3e582",  weight=0 ];

	"base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled",  weight=0 ];

	"base" -> "ec13c2c2958fa2462e129bcbb1c3f1b2cbf3e582" [  weight=0 ];

	"29be52d3cd751e66ffbea5c8dbebe156b7b7bc96" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.my-redis
type: redis
class: default
provision time: 7.063363s", style="filled", tooltip="guresid: 29be52d3cd751e66ffbea5c8dbebe156b7b7bc96",  weight=0 ];

	"b22b191bb4debff6bc1f2da84dc709ab3b87512d" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload
type: k8s-service-account
class: default
provision time: 7.305024s", style="filled", tooltip="guresid: b22b191bb4debff6bc1f2da84dc709ab3b87512d",  weight=0 ];

	"fb92dcac5677367ad857a775c15b01c779a16f67" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: ingress
class: default
provision time: 2.547983s", style="filled", tooltip="guresid: fb92dcac5677367ad857a775c15b01c779a16f67",  weight=0 ];

	"fb92dcac5677367ad857a775c15b01c779a16f67" -> "181ec6d3a777cd6d56dddff5aa100c495eb06613" [  weight=0 ];

	"fb92dcac5677367ad857a775c15b01c779a16f67" -> "81a561ede70e01d2393412f9aad095f62ef1993e" [  weight=0 ];

	"my-sample-workload" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.my-sample-workload", style="filled",  weight=0 ];

	"my-sample-workload" -> "base" [  weight=0 ];

	"my-sample-workload" -> "6d488661b4ade3c872da32da1b158f446e313a30" [  weight=0 ];

	"76fe14e38c8ff8ddf00dfbc1490496ebcc29b876" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.route
type: route
class: default
provision time: 9.798244s", style="filled", tooltip="guresid: 76fe14e38c8ff8ddf00dfbc1490496ebcc29b876",  weight=0 ];

	"81a561ede70e01d2393412f9aad095f62ef1993e" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: dns
class: default
provision time: 7.185312s", style="filled", tooltip="guresid: 81a561ede70e01d2393412f9aad095f62ef1993e",  weight=0 ];

	"6d488661b4ade3c872da32da1b158f446e313a30" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload
type: workload
class: default
provision time: 3.115686s", style="filled", tooltip="guresid: 6d488661b4ade3c872da32da1b158f446e313a30",  weight=0 ];

	"6d488661b4ade3c872da32da1b158f446e313a30" -> "81a561ede70e01d2393412f9aad095f62ef1993e" [  weight=0 ];

	"6d488661b4ade3c872da32da1b158f446e313a30" -> "b22b191bb4debff6bc1f2da84dc709ab3b87512d" [  weight=0 ];

	"6d488661b4ade3c872da32da1b158f446e313a30" -> "29be52d3cd751e66ffbea5c8dbebe156b7b7bc96" [  weight=0 ];

	"6d488661b4ade3c872da32da1b158f446e313a30" -> "76fe14e38c8ff8ddf00dfbc1490496ebcc29b876" [  weight=0 ];

	"181ec6d3a777cd6d56dddff5aa100c495eb06613" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: tls-cert
class: default
provision time: 1.981845s", style="filled", tooltip="guresid: 181ec6d3a777cd6d56dddff5aa100c495eb06613",  weight=0 ];

	"181ec6d3a777cd6d56dddff5aa100c495eb06613" -> "81a561ede70e01d2393412f9aad095f62ef1993e" [  weight=0 ];

}


@mathieu-benoit mathieu-benoit deleted the mathieu-benoit-patch-1 branch September 28, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant